<p><label [style.font-size.px]="size">字体大小:{{size}}px</label></p>
<div>
    <button (click)="dec()">-</button>
    <button (click)="inc()">+</button>
</div>

